﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace OneCard.Face8280Module.Entities.DbModels
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("EmplOfEqupt")]
    public class EmplOfEqupt
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "EmplOfEquptID", IsPrimaryKey = true, IsIdentity = true)]
        public long EmplOfEquptID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PersonnelID")]
        public int PersonnelID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "EquptID")]
        public int EquptID { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "PermitTime")]
        public decimal PermitTime { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "ReadCount")]
        public int ReadCount { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "CardMode")]
        public byte CardMode { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "HldEnabled")]
        public byte HldEnabled { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "DownloadState")]
        public byte DownloadState { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Port1")]
        public byte InoutstatePort1 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Date_Port1")]
        public decimal InoutstateDatePort1 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Port2")]
        public byte InoutstatePort2 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Date_Port2")]
        public decimal InoutstateDatePort2 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Port3")]
        public byte InoutstatePort3 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Date_Port3")]
        public decimal InoutstateDatePort3 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Port4")]
        public byte InoutstatePort4 { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "InOutState_Date_Port4")]
        public decimal InoutstateDatePort4 { get; set; }
        /// <summary>
        ///  
        /// 默认值: (0x00000000)
        ///</summary>
        [SugarColumn(ColumnName = "TimePieceIndex")]
        public byte[] TimePieceIndex { get; set; }
        /// <summary>
        ///  
        /// 默认值: (0x00000000)
        ///</summary>
        [SugarColumn(ColumnName = "OpenLock")]
        public byte[] OpenLock { get; set; }
        /// <summary>
        ///  
        /// 默认值: (0x00000000)
        ///</summary>
        [SugarColumn(ColumnName = "HldPwr")]
        public byte[] HldPwr { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "UserType")]
        public byte? UserType { get; set; }


        [SugarColumn(ColumnName = "UploadResult")]
        public int? UploadResult { get; set; }

        [SugarColumn(ColumnName = "UploadRepetitionPCode")]
        public long? UploadRepetitionPCode { get; set; }

        [SugarColumn(ColumnName = "UploadTime")]
        public DateTime? UploadTime { get; set; }
    }
}
